package day4;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class ForAvg {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int total=0;
        for(int i=1;i<=5;i++){
            System.out.println("请输入成绩：");
//            int a=sc.nextInt();
//            total+=a;
            total+=sc.nextInt();
        }
        int avg=total/5;
        System.out.println("平均分是"+avg);
    }
}
